class Foo:
    def __init__(self):
        pass

    def foobar(self):
        pass


def bar():
    foo = Foo()
    foo.foobar()
